package com.erp.erp_ui.money.vo;

import java.math.BigDecimal;

/**
 * @ClassName : PaymentRefundInfoVo
 * @Description : 付款-退款信息出参实体
 * @Author : lst
 * @Date: 2021-04-05 11:50
 */
public class PaymentRefundInfoVo {

    /**
     * 主键id
     */
    private Integer id;
    /**
     * 付款主表id
     */
    private Integer parentId;
    /**
     * 付款明细id
     */
    private Integer detailId;
    /**
     * 外销合同号
     */
    private String contractNo;
    /**
     * 单据编号
     */
    private String invoiceNumber;
    /**
     * 采购单号
     */
    private String purchaseNo;
    /**
     * 退款金额
     */
    private BigDecimal amount;
    /**
     * 备注
     */
    private String memo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PaymentRefundInfoVo").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",detailId=")
                .append(detailId)
                .append(",contractNo=")
                .append(contractNo)
                .append(",invoiceNumber=")
                .append(invoiceNumber)
                .append(",purchaseNo=")
                .append(purchaseNo)
                .append(",amount=")
                .append(amount)
                .append(",memo=")
                .append(memo)
                .append(']');
        return sb.toString();
    }
}
